
<div id="topMenu">
<div id="leftPart"><a href="searchprofile.php" class="menuItem">Search for
friends</a> <a href="searchleague.php" class="menuItem">Search for leagues</a> <a href="faq.php"
	class="menuItem">FAQ</a></div>

<div id="rightPart"><?php

if($isValid){
	echo '<a href="profile.php" target="_self" class="menuItem">Profile</a>';
	echo '<a href="logout.php" target="_self" class="menuItem">Logout</a>';
}else {
	echo '<a href="login.php" target="_self" class="menuItem">Login</a>';
}
?></div>
</div>
